package com.xk.demo.ptDuty.service;

import com.xk.demo.mybatis.entity.PtDutyEntity;
import com.xk.demo.mybatis.entity.PtRoleEntity;
import com.xk.demo.mybatis.flexigrid.PadingRstType;
import com.xk.demo.mybatis.flexigrid.PagingBean;
import com.xk.demo.mybatis.ztree.ZtreeEntity;
import com.xk.demo.ptDuty.entity.PtDutySearchEntity;
import com.xk.demo.role.entity.SearchRoleEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:XK
 * @Date: Created in 17:20 2022/5/16
 * @Description：
 **/
public interface PtDutyService {

    PadingRstType<PtDutyEntity> getDutyInfoListByPage(PtDutySearchEntity search, PagingBean paging);

    List<ZtreeEntity> getDutyZtreeList();

    List<PtDutySearchEntity> listByOrgan(String ORGAN_NAME);

    int insertNewPt(PtDutyEntity ptDutyEntity);

    int deleteDuty(String dutyId);
}
